package com.example.demo.constant;

public class Code {
    public static final int REGISTER_OK = 10011;
    public static final int REGISTER_ERR = 10010;
    public static final int LOGIN_OK = 10021;
    public static final int LOGIN_ERR = 10020;
    public static final int EXIT_OK = 10031;
    public static final int EXIT_ERR = 10030;


    public static final int INSERT_OK = 20011;
    public static final int DELETE_OK = 20021;
    public static final int UPDATE_OK = 20031;
    public static final int SELECT_OK = 20041;

    public static final int INSERT_ERR = 20010;
    public static final int DELETE_ERR = 20020;
    public static final int UPDATE_ERR = 20030;
    public static final int SELECT_ERR = 20040;

    public static final int PATTERN_ERR = 30010;

    // 第三方服务
    public static final int SMS_OK = 40011;
    public static final int SMS_ERR = 40010;
    public static final int OSS_OK = 40021;
    public static final int OSS_ERR = 40020;
    public static final int OPEN_SEARCH_OK = 40031;
    public static final int OPEN_SEARCH_ERR = 40030;

    public static final int SYSTEM_UNKNOWN_ERR = 59999;

    public static final int BUSINESS_ERR = 60010;
}
